<div id="searchRes">
	<?php foreach( $users as $user) {?>
		<div class="seapiece">
			<div class="avatar"><img src="<?php echo "attachments/download/".$user['User']['avatar'];?>" height="50px" width="50px"/></div>
			<div class="infDiv">
				<div class="infInner">
					<span class="nickName"><?php echo $user['User']['nickname'];?>&nbsp;&nbsp;</span>
					<span><?php echo $user['User']['gender'];?>&nbsp;
							<?php echo $user['User']['city']; ?>&nbsp;
							粉丝<?php echo $user['User']['fans']; ?>人
							<button class="toFollowBtn">订阅博客</button><label class="uid"><?php echo $user['User']['id']?></label>
					</span>
				</div>
				<div class="briefInf">个人介绍 : <?php echo $user['User']['introduction'];?></div>
				<div class="tagInf">订阅的标签 : 
				<?php if(isset($user['User']['tag'])){?>
				<?php foreach($user['User']['tag'] as $tag ){?><a href="javascript:void(0)"><?php echo $tag;?></a> <?php }?>
				<?php }?>
				</div>
			</div>
			<div class="dash"></div>
		</div>
	<?php }?>
</div>
<script>
	$("#wheader").css("display","none");
	$("#fixedItem").css("display","none");
	bwidthnow = window.innerWidth;
	if($("#mainNavigation").css('display')!= "none")
		$(".infDiv").css("width",bwidthnow - '400');
	else
		$(".infDiv").css("width",bwidthnow - '150');
</script>
